spilit string in swift

128

import Foundation
let sayHello = "Hello Swift 4 2017";
let result = sayHello.split(separator: " ")
print(result)

Comments

Submit
0 Comments